<?php

use yii\helpers\Html;

/* @var $this yii\web\View */
/* @var $dataProvider yii\data\ActiveDataProvider */

$this->title = 'Banner Models';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="banner-model-index">

    <h1>
        <?php
            if(!empty($data['product'])){
                echo "Product:";
                print_r("<br/>");
                foreach($data['product'] as $key => $proInfo){
                    if(is_array($proInfo)){
                        echo $key . '=>';
                        print_r("<br/>");
                        foreach($proInfo as $k=>$v){
                            if(is_array($v)){
                                echo $k . '=>';
                                print_r("<br/>");
                                foreach($v as $l=>$val){
                                    print_r( $l . "=>" .$val);
                                    print_r("<br/>");
                                }
                            }
                            else {
                                print_r($k . "=>" . $v);
                                print_r("<br/>");
                            }
                        }
                    }else {
                        echo $key . "=>" . $proInfo;
                        print_r("<br/>");
                    }
                }
            }
        ?>
    </h1>

</div>